package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.ProductSellerMapper;
import com.hcb.micro.dto.ProductSeller;
import com.hcb.micro.service.IProductSellerService;

@Service("ProductSellerService")
public class ProductSellerServiceImpl implements IProductSellerService {

	@Autowired
	ProductSellerMapper psm;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return psm.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ProductSeller record) {
		return psm.insert(record);
	}

	@Override
	public int insertSelective(ProductSeller record) {
		return psm.insertSelective(record);
	}

	@Override
	public ProductSeller selectByPrimaryKey(Integer id) {
		return psm.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ProductSeller record) {
		return psm.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ProductSeller record) {
		return psm.updateByPrimaryKey(record);
	}

	@Override
	public List<ProductSeller> selectAllByPara(Map<String, Object> para) {
		return psm.selectAllByPara(para);
	}

}
